﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.AddIn;
using System.Windows;

namespace Dashboard
{
    [AddIn("HomePageAddIn", Publisher = "AndyLiu", Version = "1.0.0.0", Description = "HomePageAddIn")]
    public class HomePageAddIn : DashboardAddIn
    {
        readonly HomePage homePage;
        public HomePageAddIn()
        {
            homePage=new HomePage();
        }
        public override string AddInId()
        {

            return Guid.NewGuid().ToString();
        }

        public override FrameworkElement Page()
        {
            return homePage;
        }

        public override System.Windows.Forms.UserControl WinFormPage()
        {
            return null;
            //throw new NotImplementedException();
        }
    }
}
